package io.jft.doll.room.entity.remote

import com.google.gson.annotations.SerializedName


/**
 * Created by G on 2017/11/26 0026.
 */
data class MessageREntity(
        @SerializedName("id") var id: String = "",
        @SerializedName("avatar") var avatar: String = "",
        @SerializedName("title") var title: String = "",
        @SerializedName("subtitle") var subtitle: String = "",
        @SerializedName("read") var read: Boolean = false,
        @SerializedName("date") var date: Long = 0,
        @SerializedName("detail") var detail: MessageBaseDetailREntity = MessageBaseDetailREntity()
)

data class MessageBaseDetailREntity(
        @SerializedName("type") var type: String = "",
        @SerializedName("content") var content: Any = ""
)